package com.wuyan.locationdog.ui.device


import com.arcsoft.commonbase.base.BaseBindingActivity
import com.blankj.utilcode.util.ActivityUtils
import com.blankj.utilcode.util.BarUtils
import com.wuyan.locationdog.MainActivity
import com.wuyan.locationdog.databinding.AddSuccessActivity2Binding
import com.wuyan.locationdog.help.DeviceHelp


class AddSuccess2Activity : BaseBindingActivity<AddSuccessActivity2Binding>() {


    override fun initData() {
        BarUtils.transparentStatusBar(this)

        binding.apply {

            title.text = DeviceHelp.successBean.title
            subTitle.text = DeviceHelp.successBean.subTitle

            btnGoHome.setOnClickListener {
                ActivityUtils.finishToActivity(MainActivity::class.java, false)
            }
        }

    }
    override fun observe() {
    }

}